package LS;

import java.util.List;

public interface YMapper {
	List<vwEquipSearch> equipSearch(String depart_id, String item_id, String condition, String text);
	List<Department> selectDepart();
	List<Item> selectItem();
	Equipments selectEquipmentsIdCheck(String equipment_id);
	List<using> selectUsing();
	void updateEquip(String equipment_id, String model_name, String price, String using_id, String item_id, String note);
	void updateEquipState(String equipment_state, String equipment_id);
	String selectDepartById(int departments_id);
	
	void deleteEquip(String equipment_id);
	List<selectForReturn> selectForReturn(String equipment_id);
	List<selectForReturn> selectForReturn2();
	selectForReturn selectForReturnUserInfo(int lending_id);
	void returnFinal(String lending_id);
	Users stuInfo(String equipment_id);
	void addManager(String id, String pw1, String name);
	List<Users> selectManager();
	void deleteManager(String user_id);
	int selectUserById(String user_id);
}